<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<div class="row" style="margin-top: 20px; padding-left: 20px;">
    <div class="form-group form-inline col-sm-6">
        <label class="">规则名称：</label>
        <input class="form-control" type="text" name="ruleName" placeholder="请输入规则名称">
    </div>
    <div class="form-group form-inline col-sm-6">
        <label class="">规则编号：</label>
        <input class="form-control" type="text" name="ruleCode" placeholder="请输入积分规则编号">
    </div>
</div>
<div class="row" style="margin-top: 20px; padding-left: 20px;">
    <div class="form-group form-inline col-sm-6">
        <label class="">有效日期：</label>
        <input class="form-control" type="text" name="validDate" id="add_validDate" placeholder="请选择有效日期">
    </div>
    <div class="form-group form-inline col-sm-6">
        <label class="">积分：</label>
        <input class="form-control" type="text" name="integral" placeholder="请输入规则对应积分" >
    </div>
</div>
<div class="row" style="margin-top: 20px; padding-left: 20px;">
    <div class="form-group form-inline col-sm-6">
        <label class="">执行频率：</label>
        <select class="form-control" name="ruleDetail" style="width:179px;">
            <option value="">---请选择---</option>
            <c:forEach items="${ruleDetails}" var="ruleDetail">
                <option value="${ruleDetail.irdId}">${ruleDetail.ruleDetailName}</option>
            </c:forEach>
        </select>
    </div>
    <div class="form-group form-inline col-sm-6">
        <label class="">是否启用：</label>
        <input name="disabled" id="disabled" type="checkbox" value="1">
    </div>
</div>
